# coding = utf-8
'''
常量信息
'''
import sys
from os import path

# 根目录
BASE_PATH = path.dirname(path.dirname(path.abspath(__file__)))

# 本地浏览器路径(phantomjs)
PHANTOM_PATH = '/Users/langzi/tools/phantomjs/bin/phantomjs'

# Selenium+Headless Chrome
BROWSER_PATH = '/Users/langzi/tools/chromedriver'

# 主页路径
HOME_PAGE = 'https://v.taobao.com/v/content/live?catetype=704&from=taonvlang'

# 输出的目录
OUTPUT_DIR = BASE_PATH + '/output/'

# JS
SCROLL_JS = 'var q=document.documentElement.scrollTop=10000'

# 屏幕截图目录
SCREEN_DIR = BASE_PATH + '/screenshot/'